<+b_dialog dialog_title="Keyframe Editor" dw=415>

<assign keyframeTopControlsX=0>
<assign keyframeTopControlsY=0>

<assign keyframeLeftControlsX=0>
<assign keyframeLeftControlsY=0>

<assign keyframeScrubberX=416>
<assign keyframeScrubberY=0>

<assign keyframeListControlX=416>
<assign keyframeListControlY=18>

<assign keyframeListItemHeight=75>
<assign keyframeListItemLabelX=0>
<assign keyframeListItemLabelY=0>
<assign keyframeListItemThumbnailX=6>
<assign keyframeListItemThumbnailY=5>

<assign keyframeListItemTimelineX=0>
<assign keyframeListItemTimelineY=0>

<assign bw=402>

<!--- Vertical Header Bar -->
<table border=0 cellspacing=0 cellpadding=0>
<tr>
	<td width=414 bgcolor=#colorDialog align=center>
			<img height=#ds><br>
					<input type=custom name=preview alt="Right click for preview options." width=396 height=223><br>
					<img width=396 height=1 bgcolor=#colorFrame>
					<table cellpadding=#ds>
					<tr>
						<td width=396 bgcolor=#colorToolbar align=center>
							<input type=button name=playSlide toggle=1 toolbar=1 width=60 height=20 xpar=images/button_play_wide.png xparToggle=images/button_stop_wide.png grayxpar=images/button_play_wide.png grayxpartoggle=images/button_stop_wide.png fgcolor=#colorIcon fgcolorOver=#colorSelection graycolor=#colorToolbarIconGrey togglecolor=#colorDialogText img=#fake grayimg=#fake imgToggle=#fake bgcolor=#colorToolbar nofade=1 alt="Preview Slide\nPlay the slide in the preview area\n(Spacebar)" ascent=20>
						</td>
					</tr>
					</table>
			<img height=#ds>
			<+b_box label="Slide Timing" width=#bw>
				<table cellspacing=0>
				<tr>
					<td>
						<table cellspacing=#ds>
						<tr>
							<td width=120 align=right><img height=3><br>Transition In</td>
							<td><input type=text name=transDurationIn width=50 height=20 ascent=20><img src=#textSecond></td>
						</tr>
						<tr>
							<td align=right><img height=3><br>Slide Time</td>
							<td><input type=text name=slideDuration width=50 height=20 ascent=20><img src=#textSecond></td>
						</tr>
						<tr>
							<td align=right><img height=3><br>Transition Out</td>
							<td><input type=text name=transDurationOut width=50 height=20 ascent=20><img src=#textSecond></td>
						</tr>
						</table>
					</td>
					<td>
						<img height=12><br>
						<img width=4 bgcolor=#colorDialogText height=62 save=bracket>
						<img src=#bracket i_recttop=1 i_rectright=3 i_rectbottom=61 i_rectcolor=#colorGroupBox>

					</td>
					<td>
						<img height=37 width=1><br>
						&nbsp;&nbsp;Total slide duration: <input type=label name=totalSlideTime width=80 height=16 ascent=11>
					</td>
				</tr>
				</table>			
			<+e_box>
			<+b_box label="Tools" width=#bw>
				<table cellspacing=#ds>
				<tr>
						<td align=right width=120 bgcolor=#colorGroupBox><img height=2><br>Editor Zoom</td>
						<td><input type=slider bgcolor=#colorGroupBox assoc=zoomScroll name=zoomScrollSlider offset=100 drange=300 horz=1 width=140 range=200 page=10 step=3 ascent=10 alt="Change initial zoom level for layer"></td>
						<td>
							<input type=textbox name=zoomScroll width=50 height=20 sliderWidth=150 sliderMin=100 sliderMax=300 sliderMinLimit=100 sliderMaxLimit=300 sliderFormat="%1.0f" sliderScale=1 alt="Change zoom level\neditor" ascent=20>
							<img src=#textPercent>
						</td>
						<td><+reset name=zoomReset alt="Reset Preview Scale"></td>
					</tr>
				</table>
				<table cellspacing=#ds>
				<tr>
						<td align=right width=120><img height=3><br>Keyframe Time</td>
						<td><input type=button name=setTime pickle="{PShowKeyframeEditorSetTime(ifs);}" width=100 height=20 value="Set Time" alt="Set time for selected keyframes"></td>
				</tr>
				<tr>
						<td align=right><img height=3><br>Keyframe Selection</td>
						<td><input type=button name=deselect pickle="{PShowKeyframeEditorDeselect(ifs);}" width=100 height=20 value="Deselect All" alt="Deselect all selected keyframes"></td>
				</tr>
				<tr>
						<td align=right><img height=3><br>Show Soundtrack</td>
						<td><img height=4><br><input type=checkbox name=waveform value="Show soundtrack waveforms" bgcolor=#colorGroupBox></td>
				</tr>
				</table>
				
				
			<+e_box>	
			
			<img height=12><br>
			Click and drag to select keyframes.  Drag selected keyframe to move.<br>
			To add a keyframe, double click on the keyframe timeline.<br>
			Right-click on a keyframe for more options.
			<img height=18><br>
			<img width=#bw height=1 src=#line><br>
			<img height=#ds><br>
			<left>
			<img width=#ds>
			<input type=button name=ok default=1 width=#dbw height=#dbh value="Apply" alt="Close the keyframe editor keeping changes" bgcolor=#colorSelection textcolor=#colorSelectionText>
			<img width=#ds>
			<input type=button name=cancel width=#dbw height=#dbh value="Cancel" alt="Close the keyframe editor discarding changes"><br>
			</left>
			<img width=1 height=2000><br>
	</td>
	<td width=1 bgcolor=#colorFrame></td>	
</tr>
</table>
<+e_dialog>